import getApiData from "@/services/cpasRequest";
import notify from 'devextreme/ui/notify';

export async function updateCutOffDate(params: {
    dbname: string,
    Data_ID: string,
    byMonth: string,
    editUser: string
  }) {
    const res = await getApiData("account.cutOffDate.update", params);
    if (res.ok) {
      return res.data;
    }
    return {};
  }